package com.icetech.eom.controller;

import com.icetech.eom.dao.tx.UserDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * @author wangzw
 */
@RestController
public class IndexController {
    @Autowired
    UserDao userDao;
    @RequestMapping(value = "/",method = RequestMethod.GET)
    public void index(HttpServletResponse response) throws IOException {
        response.getWriter().append("Hello EOM");
    }
}
